import layout from '@/views/gameModelTest/module/Layout'
export default [
  {
    path: '/gameModelTest',
    name: 'gameModelTest',
    component: () => import('@/views/gameModelTest/lis'),
    affiliation: 'main',
    meta: { title: '模型测试', icon: 'icon18', name: 'gameModelTest' },
  },
  {
    path: '/gameModelTest/detail',
    name: 'gameModelTestDetail',
    component: () => import('@/views/gameModelTest/detail'),
    // affiliation: 'main',
    meta: { title: '模型测试', icon: 'icon18', name: 'gameModelTest' },
  },
  {
    path: '/gameModelTest',
    name: 'gameModelTest',
    component: layout,
    // affiliation: 'main',
    meta: { title: '模型测试', icon: 'icon18', name: 'gameModelTest' },
    children: [
      {
        path: 'code',
        name: 'gameModelTestCode',
        component: () => import('@/views/gameModelTest/code'),
        meta: {
          title: '概览',
          icon: 'nav-menu-icon1',
          affiliation: "gameModelTest"
        }
      },
      {
        path: 'metrics',
        component: () => import('@/views/gameModelTest/metrics'),
        name: 'gameTaskmetrics',
        meta: {
          title: '监控',
          icon: 'nav-menu-icon1',
          affiliation: "gameTask"
        }
      },
      {
        path: 'log',
        component: () => import('@/views/gameModelTest/log'),
        name: 'gameModelTestLog',
        meta: {
          title: '日志',
          icon: 'nav-menu-icon1',
          affiliation: "gameModelTest"
        }
      },
      {
        path: 'ssh',
        component: () => import('@/views/gameModelTest/webssh'),
        name: 'ssh',
        meta: {
          title: 'ssh',
          icon: 'nav-menu-icon1',
          affiliation: "gameModelTest"
        }
      },
      // {
      //   path: 'podUrl',
      //   component: () => import('@/views/gameModelTest/podUrl'),
      //   name: 'gameModelTestPodUrl',
      //   meta: { 
      //     title: '节点信息', 
      //     icon: 'nav-menu-icon1', 
      //     affiliation: "gameModelTest" 
      //   }
      // }
    ]
  },
]
